//
//  BaseViewController.h
//  ZoneTry
//
//  Created by Zonetry on 16/7/4.
//  Copyright © 2016年 ZoneTry. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UINavigationBar+Awesome.h"


@interface BaseViewController : UIViewController

@property (nonatomic, assign) BOOL isBackButton; // 返回按钮
@property (nonatomic, assign) BOOL isDismissButton; //

/**
 *  设置右侧按钮
 *
 *  @param image 图片imageString
 */
- (void) setRightButtomWithImage:(NSString *) image;

/**
 *  设置导航栏标题透明度方法
 *
 *  @return
 */
- (void)setNavTitleBackgroundColorWithAlpha:(CGFloat)alpha;
/**
 *  结束编辑退出软键盘
 *
 *  @return
 */
- (void)backAction:(UIButton *)button;
/**
 *  关闭按钮 dismiss
 *
 *  @param button
 */
- (void)closeAction:(UIButton *)button;
/**
 *  右侧按钮点击事件
 *
 *  @return
 */
- (void) rightBtnClick:(UIButton *)button;
/**
 *
 */
- (void) hidenNavBar;
/**
 *  显示NavgationBar
 */
- (void) showNavBar;


@end
